/**
 * Author(s): xuming.Wong <xuming.Wong@gmail.com>
 */

#ifndef __PQ_MeshInfo_H__
#define __PQ_MeshInfo_H__

#include "EnginePrerequisites.h"

#include "OgreMaterialManager.h"
#include "OgreMeshSerializer.h"
#include "OgreSkeletonSerializer.h"
#include "OgreDefaultHardwareBufferManager.h"
#include "OgreTagPoint.h"
#include "OgreAnimationState.h"


namespace PQEngine
{
	class MeshInfo
	{
	public:
		MeshInfo();
		~MeshInfo();

		void init(Ogre::Entity* entity);
		void buildAnimations();
		void buildMaterialTree();
	protected:
		Ogre::MeshSerializer* _meshSerializer;
		Ogre::SkeletonSerializer* _skeletonSerializer;
		Ogre::Entity* _selectedEntity;

	};
}
#endif
